﻿#ifndef RECVDIRECTIONDLG_H
#define RECVDIRECTIONDLG_H

#include <QDialog>
#include "head.h"

namespace Ui {
class RecvDirectionDlg;
}

class RecvDirectionDlg : public QDialog
{
    Q_OBJECT

public:
    explicit RecvDirectionDlg(QWidget *parent = nullptr);
    ~RecvDirectionDlg();

    int m_Width;
    int m_titleHeight;
    int m_totleHeight;

    QPushButton* btnClose;
    QPushButton* btnMin;
    QPushButton* btnSetup;
    QLabel*     lbTitleText;

    QVector<double> data1;
    QVector<double> data2;

    void initForm();
    void initPlorGraph();
    void initButton();


protected:
    virtual void paintEvent(QPaintEvent*);

private:
    Ui::RecvDirectionDlg *ui;

public slots:
    void btnMenu_Close_clicked();
    void btnMenu_Min_clicked();
};



#endif // RECVDIRECTIONDLG_H
